<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	
				
	<link href="/skin/css/reset.css" rel="stylesheet" type="text/css" />
	<link href="/skin/css/layout3.css" rel="stylesheet" type="text/css" />
	<link href="/skin/css/feature.css" rel="stylesheet" type="text/css" />
	<link href="/skin/css/red.css" rel="stylesheet" type="text/css" />

	<script type="text/javascript" src="/skin/js/jquery-2.0.3.min.js"></script>
	<script type="text/javascript" src="/skin/js/ui.js"></script>
	<script type="text/javascript" src="/skin/js/tools.js"></script>

</head>

<style>
*{color:#666;}
body{font-size:14px;}
a{text-decoration: none!important;}
h1{background-color:#eee;padding:4px 10px;width:200px;}
.n-top{height:55px;background: url(/member/img/top-nav-bg.png)}
.n-top .n-top-main{width:1000px;margin:0px auto;}
.n-top .n-top-main div{display:inline-block;}
.n-top .n-top-main .logo{padding:8px;color:#56945D;font-weight:bold;font-size:18px;}
.n-top .n-top-main .nav a{line-height:47px;display:inline-block;padding:0 20px;margin-left:10px;text-align: center;text-decoration: none;font-size:18px;color:#000;}
.n-top .n-top-main .nav a.current{background-color:#ddd;}
.n-top .n-top-main .tools{float:right;margin:6px;}
.n-top .n-top-main .tools img{background-color:#fff;}
.n-top .n-top-main .tools a{color:#56945D;}

.n-main{width:1000px;margin:10px auto;}
.n-main .menu{width:170px;float:left;}
.n-main .menu dl{border:1px solid #ccc;padding:10px;background-color:#fff;margin-bottom: 10px;}
.n-main .menu dl dt{font-weight: bold;line-height:20px;border-bottom: 1px dashed #ccc;padding-left:10px;}
.n-main .menu dl dd{}
.n-main .menu dl dd a{display:block;color:#56945D;margin-left:10px;}
.n-main .menu dl dd a span{color:#56945D;}
.n-main .content-area{margin-left:180px;border:1px solid #ccc;background-color: #fff;}
.n-foot{width:1000px;margin:20px auto;text-align:center;line-height:40px;border-top:1px dashed #ccc;}
.n-foot a,.n-foot a span{color:#56945D;}



.n-page-head{padding:10px;}
.n-page-head .nexus span{font-size:14px;}
.n-page-head .nexus a span{color:#56945D;font-weight: 200;}

.n-img{border:1px solid #ccc;padding:1px;}
</style>
<body>
	<div class="n-top">
		<div class="n-top-main">
			<div class="tools">
				<img style="border:1px solid #ccc;padding:1px;" src="/member/img/default.png" width="32" /> <?=n_api('passport')->getnickname($_SESSION['ppid'])?> [<a href="/passport/dologout.html">退出</a>]
			</div>
			<div class="logo"><img src="/member/img/sohu_32.png" /> 猫头鹰反垃圾系统</div>
			<div class="nav">
				<a href="/index.html" class="<?='index'==N_EVENT?'current':''?>">首页</a>
				<a href="/opendoc.html" class="<?='opendoc'==N_EVENT?'current':''?>">文档</a>
				<a href="/demo/test.html" class="<?='demo'==N_EVENT?'current':''?>">演示</a>
				<a href="/nsite/index.html" class="<?=in_array(N_EVENT,array('index','opendoc','demo'))?'':'current'?>">管理中心</a>
			</div>
		</div>
	</div>
	
	<div class="n-main n-clearfix">
		<div class="menu">
			<?php
			if('user'==N_APP_TYPE){
			?>
			<?=n_mod('nsite')->getCurrentPlugins()?>
			<?=n_mod('nsite')->getMySite()?>
			<?php
			}
			?>

			<?php
			if('admin'==N_APP_TYPE){
			?>
			
			<dl>
				<dt>运营管理</dt>
				<dd>
					<!--a>站点管理</a>
					<a>系统统计</a-->
					<a href="<?=n_url('passport','index')?>">账号管理</a>
					<!-- <a href="<?=n_url('spackage','index')?>">服务套餐管理</a> -->
					<a href="<?=n_url('nsite','search')?>">站点管理</a>
					<a href="<?=n_url('kword','kwordAllList')?>">关键词公共库</a>
					<a href="<?=n_url('feedback','index')?>">反馈列表</a>
				</dd>
			</dl>
			<dl>
				<dt>系统管理</dt>
				<dd>
					<!--a>站点管理</a>
					<a>系统统计</a-->
					<a href="<?=n_url('stasite','siteIndex')?>">系统统计</a>
					<a href="<?=n_url('mq','index')?>">消息队列</a>
					<a href="<?=n_url('nconfig','index')?>">应用配置</a>
					<a href="<?=n_url('nlog','siteIndex',array('scode'=>'sohublog'))?>">log日志</a>
					<a href="<?=n_url('mergestat','siteIndex',array('scode'=>'sohublog'))?>">统计</a>


				</dd>
			</dl>
			<?php
			}
			?>
			
		</div>
		<div class="content-area n-clearfix">